﻿using Microsoft.AspNetCore.Builder;
using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;

[assembly: OwinStartup(typeof(WebApplication1.APP_Start.StartUp))]
namespace WebApplication1.APP_Start
{
    public class StartUp
    {
        public void Configuration(IAppBuilder app)
        {
            app.UseCors(CorsOptions.AllowAll);//跨域
            app.MapSignalR();
        }
    }
}
